-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JDK21 adds PreviewFeature APIs and JVM methods #17514
Conversation
fc7d325
to
979d442
Compare
#17125 addresses all issues related to the |
|
979d442
to
806ef75
Compare
806ef75
to
9b77834
Compare
Just updated this PR to address the comments except for the actual implementation for This PR probably is not sufficient for |
9b77834
to
7e5d642
Compare
7e5d642
to
4eb827e
Compare
Please rebase this on #17125; see ibmruntimes/openj9-openjdk-jdk#608 (comment). |
- Move code of APIs of JDK 20 such as JVM_VirtualThreadMountBegin to helpers so they can be called by APIs of both JDK 20 and 21 - Hide frames between mount/unmount begin and mount/unmount end - Seperate out code that is specific to first mount and last unmount. Fixes eclipse-openj9#16984 Outlines of related functions: virtualThread[Mount|Unmount]Begin: enterVThreadTransition() virtualThreadHideFrames(true) virtualThread[Mount|Unmount]End: virtualThreadHideFrames(false) exitVThreadTransition() JVM_VirtualThreadMount(bool hide): if (hide) virtualThreadMountBegin() else virtualThreadMountEnd() TRIGGER_J9HOOK_VM_VIRTUAL_THREAD_MOUNT() JVM_VirtualThreadUnmount(bool hide): if (hide) TRIGGER_J9HOOK_VM_VIRTUAL_THREAD_UNMOUNT() virtualThreadUnmountBegin() else virtualThreadUnmountEnd() JVM_VirtualThreadStart() virtualThreadMountEnd() TRIGGER_J9HOOK_VM_VIRTUAL_THREAD_STARTED() JVM_VirtualThreadEnd() TRIGGER_J9HOOK_VM_VIRTUAL_THREAD_END() virtualThreadUnmountBegin() Signed-off-by: Gengchen Tuo <gengchen.tuo@ibm.com>
4eb827e
to
a4f395c
Compare
Rebased on ibmruntimes/openj9-openjdk-jdk#608 (comment) |
Added following PreviewFeature APIs: stringConcatCoder(char value) stringBuilderConcatMix(long lengthCoder, StringBuilder sb) stringBuilderConcatPrepend(long lengthCoder, byte[] buf, StringBuilder sb) Also added JVM_PrintWarningAtDynamicAgentLoad. Signed-off-by: Jason Feng <fengj@ca.ibm.com>
a4f395c
to
b0f261c
Compare
eclipse-openj9/openj9#17125 fixes framepop02.java#id1, and it was embedded in eclipse-openj9/openj9#17514 and merged. Now, the MethodExitTest failure is being tracked through eclipse-openj9/openj9#17514. Closes eclipse-openj9/openj9#16346 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
eclipse-openj9/openj9#17125 fixes framepop02.java#id1, and it was embedded in eclipse-openj9/openj9#17514 and merged. Now, the MethodExitTest failure is being tracked through eclipse-openj9/openj9#17490. Closes eclipse-openj9/openj9#16346 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
eclipse-openj9/openj9#17125 fixes framepop02.java#id1, and it was embedded in eclipse-openj9/openj9#17514 and merged. Now, the MethodExitTest failure is being tracked through eclipse-openj9/openj9#17490. Closes eclipse-openj9/openj9#16346 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
JDK21
addsPreviewFeature
APIs and JVM methodsAdded the following PreviewFeature APIs:
Also added
JVM_PrintWarningAtDynamicAgentLoad
.Rebased on
required by
Signed-off-by: Jason Feng fengj@ca.ibm.com